import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";

const routes:Array<RouteRecordRaw>=[

    {
        path:"/",
        name:"HelloWorld",
        component:()=>import('../components/HelloWorld.vue')
    },
    {
        path:"/Login",
        name:"Login",
        component:()=>import('../components/Login.vue')
    },
    {
        path:"/Show",
        name:"Show",
        component:()=>import('../components/Show.vue')
    },
]

const router=createRouter({
    history:createWebHistory(),
    routes
})
export default router